﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace Lilium.Web.Mvc
{
	public sealed class GetScriptResourceEventArgs: EventArgs
	{
		public GetScriptResourceEventArgs(string resourceName)
		{
			if (string.IsNullOrEmpty(resourceName))
				throw new ArgumentNullOrEmptyException("resourceName");

			m_ResourceName = resourceName;
		}

		#region public ScriptResource ScriptResource

		private ScriptResource m_ScriptResource;

		public ScriptResource ScriptResource { [DebuggerNonUserCodeAttribute] get { return m_ScriptResource; } [DebuggerNonUserCodeAttribute] set { m_ScriptResource = value; } }

		#endregion

		#region public string ResourceName

		private readonly string m_ResourceName;

		public string ResourceName { [DebuggerNonUserCodeAttribute] get { return m_ResourceName; } }

		#endregion
	}
}
